
//
//  SearchDetailViewController.m
//  HandWork
//
//  Created by 王阳阳 on 16/2/29.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SearchDetailViewController.h"

@interface SearchDetailViewController ()

@end

@implementation SearchDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    //网址
    NSString *str = [[@"http://h5.m.taobao.com/awp/core/detail.htm?u_channel=1-23259936&umpChannel=1-23259936&exParams=%7B%22umpChannel%22:%221-23259936%22,%22u_channel%22:%221-23259936%22,%22referer%22:%22showTaoKeItemDetail.taobaoH5%22%7D&ttid=2014_0_23259936@baichuan_ios_1.8.3&id=" stringByAppendingString:self.uid] stringByAppendingString:@"&_viewType=taobaoH5"];
    NSLog(@"%@",str);
    //创建WebView
    
    UIWebView *web = [[UIWebView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    [web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:str]]];
    [self.view addSubview:web];//添加
    [web release];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
